[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
] [renderingsetup=list:startendpages] \startsetups[list:startendpages] {\ToCEntry} \vglue1pc \stopsetups \starttext {\tfa\bf Contents} \blank[line, fixed] \WORD{Sources} \blank[halfline, fixed] \placelist[SourceTitle][criterium=all] \blank[line, fixed] \WORD{Studies} \blank[halfline, fixed] \placelist

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
of the book, according to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium=all

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
n defining a separate TOC to place at the back, but have >>> not succeeded in the chronological order! Here is what I have done: >>> >>> \definelist[chron][criterium=all,alternative=c] >>> >>> At the back of the book: >>> >>> \placelist[chron][cri

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
] At the back of the book: \placelist[chron][criterium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April

[NTG-context] Re: chronological TOC

2024-01-27 Thread Henning Hraban Ramm
at the front of the book, according to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium

[NTG-context] chronological TOC

2024-01-26 Thread jbf
to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium=all] Then at an appropriate point

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
etuphead [title]  [incrementnumber=list] > \setuphead [subject]    [incrementnumber=list] > \setuphead [subsubject] [incrementnumber=list] > \definehead [contentstitle] [title] > \starttext > \contentstitle{Contents} > \placelist[chapter,title,section,subject,subsection,su

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
\stoptext end example 1 begin example 2 \setuphead [title]  [incrementnumber=list] \setuphead [subject]    [incrementnumber=list] \setuphead [subsubject] [incrementnumber=list] \definehead [contentstitle] [title] \starttext \contentstitle{Contents} \placelist[chapter,title,section

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
,section}] \startsetups [SecToc] \startframedtext [width=\textwidth, align=middle, frame=off] \placelist [section] [ criterium=chapter, ] \stopframedtext \stopsetups While that produces a result, it is nothing like what I want above. Has anyone put together a TOC of this kind and might

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
] [renderingsetup=list:toclist] \setupheadtext[section=Table of Contents] \startsetups toclist \framed[align=normal, frame=off]{\placelist [section] [criterium=all, alternative=toclist]} \stopsetups \definehspace[tspace][4cm] \setupframed[ height=fit, width=fit, location=middle, frame

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] \setuplist [subsection] [margin=2.75em, width=2.25em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
get the numbering right? > > You can define the resetting of numbering with > \setupcaption[Afigure][way=bytext|bypart|bychapter]. > > For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. > > HTH, > Hraban >

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Henning Hraban Ramm via ntg-context
. chapternumber.serialnumber. Instead each float get the chapter number only. How to get the numbering right? You can define the resetting of numbering with \setupcaption[Afigure][way=bytext|bypart|bychapter]. For the list, \placelist[Afigure][criterium=chapter] (or local?) should work. HTH

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
gt;> On 26 Mar 2023, at 12:51, Henning Hraban Ramm via ntg-context >>> wrote: >>> >>> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >>>> Good evening! >>>> I have a setup in which I need to send info to the TOC: >>>> C

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
, at 12:51, Henning Hraban Ramm via ntg-context wrote: Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
wrote: > > Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >> Good evening! >> I have a setup in which I need to send info to the TOC: >> Consider the following example: >> \starttext >> \starttitle[title=Contents] >> \placelist[chapter][cri

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Willi \setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix? \setuphead[part][placehead=yes] \starttext \startpart[title=part one] \starttitle[title=Contents] \placelist[part,chapter][criterium=all] \startsubject[title=Figures] \placelistoffigures[criterium=all

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

[NTG-context] \placelistofabbreviations in project structure?

2022-06-19 Thread jbf via ntg-context
is defined and give me the correct result if I write \adjp\ or \infull{adjp} in any one of them. My MWE below for the (as yet not working) abbreviations component that contains the placelist command: \startcomponent 04_abbreviations \project project_Dictionary \startchapter[title={Abbreviations

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
] \stopsectionblockenvironment With the above setting you change layout of the chapter entries for list which are placed in the bodymatter environment, e.g.     \startbodymatter     ...     \placelist[chapter]     ...     \stopbodymatter To create separate styles for chapters within the frontmatter and bodymatter

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext &

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Willi Egger via ntg-context
Hi Joel, I think you can achieve what you want by using \placelist[chapter,section] instead of \completecontent. Then you can start the TOC by \startchapter[Content] \placelist…. \stopchapter. The same approach can be used for other lists/indexes. Kind regards Willli > On 8 May 2022, at

[NTG-context] placelist created by defineenumeration fails in numbered headings

2022-01-20 Thread Youssef Cherem via ntg-context
} \placelist[Exercício][label=Exercise] \subject{Lista de títulos} \placelist[Título][label=Título] \Exercício[title=Título do exercício] Um exercício O mesmo exercício. \Exercício Outro exercício com {\tt start ... stop} \subExercício Um subexercício. \startExercício Um exercício

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
\stopsetups \starttext \starttitle[title={Tabulated Table of Contents}] \placelist[chapter] \blank[2*big] \determinelistcharacteristics[chapter] \startluacode local result = structures.lists.result context.bTABLE() for i=1,#result do

Re: [NTG-context] Spacing issue in itemize

2022-01-14 Thread Aditya Mahajan via ntg-context
tion then is: "what key" (we have c!inherit available) and "what > values" (numbers ?) ... alternative = (a|b|c) like placelist? Aditya ___ If your question is of interest to others as well, p

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
added a simple levels feature ... the best i can do for now is: \placelist[chapter,section,subsection][levels=2] keep in mind that all should work with the already present selective placement and filtering (criterium) uploaded

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
get repeated (not what I expected). Here is a M(not)WD: ###begin \setupinteraction[state=start] \placebookmarks[chapter, section][chapter, section] \setupinteractionscreen[option=bookmark] \starttext \startfrontmatter \title{Contents} \placelist[chapter] \stopfrontmatter

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
l, don’t use \completecontent and replace \placelist[chapter,chaptertext] with something similar to \placelist[part, chapter,chaptertext] > - In the backmatter, the chapters should be numbered with letters > (appendix A, B, etc.) and chapters start again from 1 (A) Add to the

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [section]        [margin=1em,         width=1.75em]     \setuplist        [subsection]        [margin=2.75em,         width=2em,         distance=\spaceamount]     \starttitle[title=Table des matières]          \placelist            [chapter,section,subsection]            [criterium=all

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
] [margin=2.75em, width=2em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
[part] [after={\blank[samepage,big]\placelist[endnote]}] \blank \placelist [part] [criterium=all] \blank \placelist [endnote] [criterium=text] \stoptext - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote: Cool. Thanks. So again something to be wikified. Two questions related to this relying on the list mechanism: 1. You use this to flush the notes \setuplist    [part]    [after={\blank[samepage,big]\placelist[endnote][criterium=part

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier
Would be great if that missing piece could be > added! > it's in the latest Cool. Thanks. So again something to be wikified. Two questions related to this relying on the list mechanism: 1. You use this to flush the notes \setuplist [part] [after={\blank[samepage,big]\placel

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-29 Thread Hans Hagen
][placehead=yes] \setupnotes [endnote] [way=bypart] \setupnotes [endnote] [location=list] \starttext \part{First Part} asdf\endnote{asdf} jklö\endnote{jklö} \part{Second Part} asdf\endnote{asdf} jklö\endnote{jklö} \page \setuplist [part] [after={\blank[samepage,big]\placelist[endnote

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
\placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title=Gamma] third \index{third} \startsection[title=Delta] fourth \index

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
:45 PM, Adam Reviczky wrote: > > Hi, > > > > Is there a way to have formula numbers showing all prefix segments? > > When I use prefixsegments, I get the desired numbering in the placelist > > but not in the formula number itself. > > > > For example: > &

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
On 3/20/2021 11:45 PM, Adam Reviczky wrote: Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*] \setupformulas[way=bytext

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-18 Thread denis.maier
urelistprocessor{chapter:userdata} {\startlinecorrection[blank] \hfill \inframed{you really need to look at \structurelistuservariable{pagenumber}}% \stoplinecorrection} \placelist[chapter] \chapter{one} \writebetweenlist[chapter][location=here]{\blank page 4\blank} \writedatatolist[chapter][location=

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread Hans Hagen
} \placelist[chapter] \chapter{one} \writebetweenlist[chapter][location=here]{\blank page 4\blank} \writedatatolist[chapter][location=here][pagenumber=4] \writetolist[chapter]{}{It's a test} \chapter{two} \stoptext wikifyable Hans

Re: [NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-17 Thread Adam Reviczky
Hi, Or would it be possible to just add a "list=" option to placeformula similar to placefigure? (although that might conflict with the combination of "title=") All I am really after is to label or name numbered formulas in the placelist. --- \starttext % 1 This i

[NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-15 Thread Adam Reviczky
Hi, I want to use placenamedformula to list a formula in the placelist with both the formula name and the formula number (alongside the pagenumber). The example in the wiki (https://wiki.contextgarden.net/Math/Display) and the test suite (cont-tst/doc/context/tests/mkiv/math/formulas-003.tex

[NTG-context] expansion of xml userdata

2021-01-17 Thread Jano Kula
:section \startsection[title=\xmlatt{#1}{title}] [usertitle=\xmlatt{#1}{title}] \stopsection \stopxmlsetups \starttext \placelist[section] \xmlprocessbuffer{xml:name}{doc}{} \stoptext xml-one-file-head-toc.tex Description: Bin

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Aditya Mahajan
On Wed, 9 Dec 2020, Wolfgang Schuster wrote: > > Actually, I cannot figure out how \writetolist works. According to > https://wiki.contextgarden.net/Command/writetolist, the 2nd argument is the > "number". But, for some reason, the list number doesn't show in placelist: &

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 08.12.2020 um 20:05: On Tue, 8 Dec 2020, Aditya Mahajan wrote: Hi, On Tue, 8 Dec 2020, Hans Hagen wrote: On 12/8/2020 8:47 AM, Aditya Mahajan wrote: \usemodule[annotation] \defineannotation[test][alternative=paragraph] \starttext \placelist[test][criterium=all

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Aditya Mahajan
On Tue, 8 Dec 2020, Aditya Mahajan wrote: > Hi, > > On Tue, 8 Dec 2020, Hans Hagen wrote: > > > On 12/8/2020 8:47 AM, Aditya Mahajan wrote: > > > \usemodule[annotation] > > > > > > \defineannotation[test][alternative=paragraph] > > > &g

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Aditya Mahajan
Hi, On Tue, 8 Dec 2020, Hans Hagen wrote: > On 12/8/2020 8:47 AM, Aditya Mahajan wrote: > > \usemodule[annotation] > > > > \defineannotation[test][alternative=paragraph] > > > > \starttext > > > > \placelist[test][criterium=all] > > > &g

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Hans Hagen
On 12/8/2020 8:47 AM, Aditya Mahajan wrote: \usemodule[annotation] \defineannotation[test][alternative=paragraph] \starttext \placelist[test][criterium=all] \starttest[title={This is a title}] \input ward \stoptest \starttest[title={This is another title}, list={This is in the 2nd list

[NTG-context] Automatically setting the value of list key in annotation module

2020-12-07 Thread Aditya Mahajan
] \starttext \placelist[test][criterium=all] \starttest[title={This is a title}] \input ward \stoptest \starttest[title={This is another title}, list={This is in the 2nd list}] \input ward \stoptest I want the first title to also be added to the list. Thanks, Aditya

Re: [NTG-context] new upload

2020-11-18 Thread Hans Hagen
introduced ... thanks for testing. Many thanks for the new upload, Hans. Even headings and lists are indented now:    \showframe\showgrid    \setupindenting[yes, always, big]    \starttext    \placelist[section]    \dorecurse{5} {\section{Section \recurselevel} \input{zapf}}    \stoptext I

Re: [NTG-context] new upload

2020-11-18 Thread Wolfgang Schuster
for the new upload, Hans. Even headings and lists are indented now: \showframe\showgrid \setupindenting[yes, always, big] \starttext \placelist[section] \dorecurse{5} {\section{Section \recurselevel} \input{zapf}} \stoptext I think this may be a bug. Minimal example

Re: [NTG-context] new upload

2020-11-18 Thread Pablo Rodriguez
Even headings and lists are indented now: \showframe\showgrid \setupindenting[yes, always, big] \starttext \placelist[section] \dorecurse{5} {\section{Section \recurselevel} \input{zapf}} \stoptext I think this may be a bug. Pablo -- http

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
I think (Wolfgang may correct me [or explain this better]). Expansion in list and bookmarks seems to be different: \setupinteraction[state=start] \setupinteractionscreen[option=bookmarks] \placebookmarks[section][section] \setuphead[title][page=no] \starttext %~ \

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
  [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
] \setupsectionblock   [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter [title=Chapter 1] [author={A. u. thor}] \stopchapter \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
][lines=4]} Thank you for advice! Kind regards Willi ] Here's an example of an actually already quite old mechanism .. \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister

[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
\startalignment[middle] {TRANSLATED BY ALEXANDER TEIXEIRA DE MATTOS, F.Z.S.} \stopalignment \stopstandardmakeup \starttitle[title={TRANSLATOR'S NOTE.}] \input ward \stoptitle \setupcounter[userpagenumber][state=start,number=7] \starttitle[title=Contents] \placelist

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Rudolf Bahr
> \setupbackgrounds[page][background=pgnumber] > \starttext > \placelist[section][alternative=d] > \dorecurse{16}{\section{Section}} > \pagenumber/\lastpagenumber > \setlayer[pgnumber] > {\comment{\pagenumber}} > \stoptext > > Could anyone confirm the iss

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
>> Could anyone confirm the issue? > > \pagenumber is only reliable headers/footer texts or page backgrounds, > for everything else you need a multi pass mechanism (save the page > number in the first run and provide it in the second). Many thanks for your reply, Wolfgang. I thought this

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Wolfgang Schuster
] \starttext \placelist[section][alternative=d] \dorecurse{16}{\section{Section}} \pagenumber/\lastpagenumber \setlayer[pgnumber] {\comment{\pagenumber}} \stoptext Could anyone confirm the issue? \pagenumber is only reliable headers/footer texts or page backgrounds

[NTG-context] wrong page for annotation and \pagenumber

2020-06-15 Thread Pablo Rodriguez
Dear list, I have the following number with wrong annotation placement and wrong page number, which would be both on the second page: \setupinteraction[state=start] \definelayer[pgnumber] \setupbackgrounds[page][background=pgnumber] \starttext \placelist[section][alternative=d

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
Table of Contents} \placelist[chapter] \startchapter[title=Tufte 1] \input tufte \stopchapter \startchapter[title=Tufte 2] \input tufte \stopchapter \stoptext %%% End %%% It's hard. Maybe I need to make a more low level accessor for that but multipass etc gets in the way. When you knwo

[NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Bruce Horrocks
} \define\myTOCbefore{ \starttabulate[|pw(8.75cm)|l|lw(4.2cm)|r|] \NC \underbars{Title} \NC \underbars{Subject} \NC \underbars{Author} \NC \underbars{Page} \NC\NR } \define\myTOCafter{% \stoptabulate } \starttext \title{Tabulated Table of Contents} \placelist[chapter] \startchapter[title

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
  [content] >   [list={chapter,section,title,subject,subsection}] > \setuplist[chapter][style=normal,alternative=b, before=] Hi Julian, \completecontent is similar to simply use: \title{Contents} \placelist[content] If you include title in \setupcombinedlist[content], you are

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
On 4/11/20 2:53 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.04.2020 um 13:54: >> [...] >> I really need that, since the document I’m composing needs chapter and >> part page numbering independent from the whole document page numbering. >> >> Am I missing something or have I hit a

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist

[NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist[chapter] use the realpage counter? According to i

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/16/20 7:00 PM, Wolfgang Schuster wrote: > [...] > A way to fix the wrong spacing here is to add a strut option to > \setuplist (or use always the upright font to set the strut values). Any of these ones would be great to avoid the corner cases. Pablo -- http://www.ousia.tk

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Hans Hagen schrieb am 16.03.2020 um 18:42: On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed lineheight (e.g. \setupinterlinespace[line=14pt])

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Henning Hraban Ramm
> Am 2020-03-16 um 14:35 schrieb Hans Hagen : >> Yes, pagella is a extreme case but when you use bold text the vertical >> spacing is also messed up. You can avoid this when you use a fixed >> lineheight (e.g. \setupinterlinespace[line=14pt]) because the default >> distance is font dependant

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 1:27 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists,

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists, e.g. \setuplist[strut=no]. The problem in this

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/15/20 10:56 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.03.2020 um 20:32: >> [...] >> Everthing is fine when italic fonts aren’t used. > > It can be fixed with a strut option for lists, e.g. > \setuplist[strut=no]. The problem in this case is that the ex-height for > the

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.03.2020 um 20:32: Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d

[NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Pablo Rodriguez
Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d, style=\it] \section{Section 1} \section

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Rik Kabel
On 11/7/2019 16:22, jdh wrote: I get no difference using criterium=previous versus criterium=local. Try this extended example to see the difference:  \setuphead[section][number=no]  \starttext  \startchapter[title=foo]   \placelist[section][criterium=local,order=title

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Hans Hagen
On 11/7/2019 9:45 PM, Kerry Sainsbury wrote: Thanks Hans. For the sake of any future users who may have stumbled across this post I want to point out that if you want the list of sections to appear at the /end /of your document you need to use "criterium=previous" \placeli

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread jdh
nt > you need to use > "criterium=previous" > > \placelist[section][criterium=previous,order=title] > > On Fri, 8 Nov 2019 at 04:52, Hans Hagen wrote: > > On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: > > Hi Folks, > > > > If sec

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Kerry Sainsbury
Thanks Hans. For the sake of any future users who may have stumbled across this post I want to point out that if you want the list of sections to appear at the *end *of your document you need to use "criterium=previous" \placelist[section][criterium=previous,order=title] On Fri,

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Hans Hagen
... \setuphead[section][number=no] \starttext \startchapter[title=foo] \placelist[section][criterium=local,order=title] \startsection[title={Beta}] \input sapolsky \stopsection \startsection[title={Alpha}] \input sapolsky \stopsection \startsection[title={Gamma}] \input sapolsky

[NTG-context] How to sort list of sections?

2019-11-06 Thread Kerry Sainsbury
to sort sections. I was wrong :-) \definesorting[section][sections] \setupsorting[sections][criterium=all] % I thought something like this might work too \definesorting[wahs] \definesorting[wah][wahs][\getmarking[section]][\getmarking[section]] \starttext placelist (not sorted, as you would

[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
ithin)? -Sanjoy The code: \setupcaption[figure][way=bytext,prefixset=1:2] \definehead[unnumberedsection][section] \setuphead [unnumberedsection][incrementnumber=list] \starttext \placelist[chapter,section,unnumberedsection] \chapter{One} \placefigure{one}{1} \section{Two} \placefigure{two}{2} \chap

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
[preference]}] \setuplist[section][width=10mm, style=,textstyle=\ss,after={\blank[preference]}] \setuplist[subsection][style=,textstyle={\ss}] % \startfrontmatter \title{Contents} \placelist[chapter,title] \stopfrontmatter \startbodymatter \title{First} \page

Re: [NTG-context] two different outputs.

2019-01-01 Thread Wolfgang Schuster
} \placelist[chapter,title] \title{Title} \title{타이틀} \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
, >before=\endgraf, >after=\endgraf, >command=\ChapterTocEntry] > > \usemodule[visual] > > \starttext > > \placelist[chapter][criterium=all] > > \dorecurse{5}{ > \chapter{\fakewords{2}{7}} > \dorecurse{5}{ > \fakewords{10}{300}\par >

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Wolfgang Schuster
\setupinteraction[state=start] \define[3]\ChapterTocEntry   {\maxaligned{#2\hfill#3}} \setuplist   [chapter]   [alternative=interactive,    before=\endgraf,    after=\endgraf,    command=\ChapterTocEntry] \usemodule[visual] \starttext \placelist[chapter][criterium=all] \dorecurse{5

  1   2   3   4   5   6   7   >